<?php

class Home extends Controller {

	function Home()
	{
		parent::Controller();	
        if(!admin_session_check()) redirect('admin/login');
        if(!is_allowed("all")) show_404();
	}     
    
    function index()
    {


        $data["response"] = get_response(); 
       
        $this->load->view('admin/default/head');  
        $this->load->view('admin/default/header');  
        $this->load->view('admin/home/home', $data);   
        $this->load->view('admin/default/footer');    
        
    }
          
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */